import request from '@/utils/request'

// 用户注册
export const registerAccount = function (data) {
  return request({
    url: '/CUser/register',
    method: 'post',
    data: data
  })
}

// 忘记密码
export const forgotPassword = function (data) {
  return request({
    url: '/CUser/forgotPassword',
    method: 'post',
    data: data,
    isToken: true
  })
}
